<?php
/*
   店铺动态管理
*/
class ShopActiveController extends AdminController {
	public	$modelName = 'ShopActive';
	public function modelProvider() {
		return array_merge(parent::modelProvider(), array(
			'criteria' => array('scopes'=>'related'),
		));
	}
    /*
        actionIndex  动态列表
        actionEdit   编辑动态
        actionDelete  删除动态
    */
	public function outerActions() {
		return array_merge(parent::outerActions(), array(
			'admin' => 'actions.shop.shopActive.admin',
			'edit' => 'actions.shop.shopActive.edit',
			'view' => 'actions.shop.shopActive.view'
		));
	}
}
?>